import Vue from 'vue'
import VueI18n from 'vue-i18n'

Vue.use(VueI18n)
import ElementZH from 'element-ui/lib/locale/lang/zh-CN'
import ElementEN from 'element-ui/lib/locale/lang/en'
import customZH from './zh'
import customEN from './en'
export default new VueI18n({
  locale: 'en',
  messages: {
    zh: {
      greeting: '你好',
      ...ElementZH,
      ...customZH
    },
    en: {
      greeting: 'Hello',
      ...ElementEN,
      ...customEN
    }
  }
})
